package com.wetool.wechat.model.official.message.reply;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.wetool.wechat.model.official.message.AbstractMessage;
import lombok.Data;

@Data
@JsonRootName(value = "xml")
public class ImageMessage extends AbstractMessage {
    @JsonProperty(value = "Image")
    private Media image;

    /**
     * @param mediaId
     */
    public ImageMessage(String mediaId) {
        this.image = new Media(mediaId);
    }
}